Method and device for folder management by controlling arrangements of icons

ABSTRACT

A folder management method and device. The method includes: displaying a folder icon including a set of icons of at least two applications, and the set of icons is displayed as a thumbnail icon, and, in the thumbnail icon, each of the icons of the at least two applications is displayed in a shrunk size, and the folder icon further including an enlarged first icon associated with a first application, where the enlarged first icon is displayed adjacent to the thumbnail icon without the first icon, and where a size of the enlarged first icon is a same size as the thumbnail icon. The enlarged icon can be changed or displayed more according to application usage.

CROSS-REFERENCE TO RELATED APPLICATION

This application is a continuation of U.S. patent application Ser. No. 17/021,141, filed on Sep. 15, 2020, which is a continuation of U.S. patent application Ser. No. 16/788,339, filed on Feb. 12, 2020, now U.S. Pat. No. 10,817,165, which is a continuation of U.S. patent application Ser. No. 15/443,973, filed on Feb. 27, 2017, now U.S. Pat. No. 10,572,140, which claims priority to Chinese Patent Application No. 201610116618.3, filed on Feb. 29, 2016. All of the afore-mentioned patent applications are hereby incorporated by reference in their entireties.

TECHNICAL FIELD

Embodiments relate to the field of intelligent terminals, and in particular, to a folder management method and device.

BACKGROUND

On a mobile intelligent terminal with a touchscreen, a folder (also referred to as an object collection) on a desktop combines multiple applications into one independent folder and becomes an independent icon. After the folder is tapped again, the mobile intelligent terminal unfolds the folder and displays an icon of each application in the folder, and then a user searches for an application required by the user in the folder. Currently, a mainstream effect of unfolding a folder can greatly help a user classify and organize desktop applications. However, in the classified applications, the user expects to preferentially use some applications in the folder but display of applications in the folder in the prior art cannot reflect a use preference of the user, which deteriorates user experience.

SUMMARY

Embodiments provide a folder management method and device, so as to resolve an existing problem that applications in a folder are all displayed in a same size, which is adverse to management of the applications in the folder.

Solutions provided in the embodiments are as follows:

According to a first aspect, an embodiment provides a folder management method, where the method is executed by an electronic device that has a touchscreen display, and the method includes:

displaying a folder icon on the touchscreen display, and displaying a drag mark in a first position of the folder icon on the touchscreen display, where the folder icon includes icons of at least two applications;

detecting a first drag operation to the drag mark, where the first drag operation is used to increase a size of an icon of an application in a folder; and

when the first drag operation is detected, displaying, on the touchscreen display, an icon that is of at least one application in the at least two applications and that is inside the folder icon, where the icon is enlarged for display.

In a possible implementation, the first drag operation to the drag mark includes an operation of dragging the drag mark, and the detecting a first drag operation to the drag mark includes:

detecting whether a drag direction indicated by the first drag operation points to an exterior of the folder icon.

In a possible implementation, the first position is in a boundary position of the folder icon.

In a possible implementation, the method further includes:

when the first drag operation is detected, displaying an icon of an application other than the at least one application in the at least two applications, where the icon is not enlarged for display.

In a possible implementation, after the displaying, on the touchscreen display, an icon that is of at least one application in the at least two applications and that is inside the folder icon, where the icon is enlarged for display, the method further includes:

setting a status of the at least one application to an enabled state, and when the status of the at least one application is the enabled state and a tap operation to an icon of any one application in the at least one application is detected, loading the any one application.

In this implementation, for an application corresponding to an icon of the application that is enlarged for display, when a user needs to enable the application, the user only needs to tap the icon of the application once to directly enable the application. A folder icon in which the application is located does not need to be additionally tapped and opened, which can save time and work, and improve operation efficiency of the application.

In a possible implementation, after the displaying, on the touchscreen display, an icon that is of at least one application in the at least two applications and that is inside the folder icon, where the icon is enlarged for display, the method further includes:

detecting a second drag operation to the drag mark, where the second drag operation is an operation used to reduce a size of an icon that is of an application and that is inside the folder icon; and

when the second drag operation is detected, displaying, on the touchscreen display, a shrunk icon that is of an application in the at least one application and that is inside the folder icon, where a size obtained after the shrunk icon of the application is shrunk is the same as a size obtained before the shrunk icon of the application is enlarged.

In this implementation, for an icon of the application that is enlarged for display, the icon of the application that is enlarged for display may be shrunk into a size before the enlargement according to an application use need of a user, and a display size of the icon of the application in a folder icon may be changed in time, which further optimizes folder management.

In a possible implementation, after the displaying, on the touchscreen display, a shrunk icon that is of an application in the at least one application and that is inside the folder icon, the method further includes:

setting a status of the shrunk application to a disabled state, and when the status of the shrunk application is the disabled state and a tap operation to the shrunk icon of the application is detected, skipping loading any one application.

In a possible implementation, the second drag operation to the drag mark includes an operation of dragging the drag mark, and the detecting a second drag operation to the drag mark includes:

detecting whether a drag direction indicated by the second drag operation points to an interior of the folder icon.

In a possible implementation, the method further includes:

when an icon of any one application is enlarged for display, accordingly enlarging the folder icon for display.

In a possible implementation, the method further includes:

when an icon of any one application is enlarged for display, keeping a size of the folder icon unchanged.

According to a second aspect, an embodiment provides a folder management apparatus, where the apparatus is applied to an electronic device that has a touchscreen display, and the apparatus includes:

a display unit, configured to display a folder icon on the touchscreen display, and display a drag mark in a first position of the folder icon on the touchscreen display, where the folder icon includes icons of at least two applications; and

a processing unit, configured to detect a first drag operation to the drag mark, where the first drag operation is used to increase a size of an icon of an application in a folder; and when the first drag operation is detected, display, on the touchscreen display, an icon that is of at least one application in the at least two applications and that is inside the folder icon, where the icon is enlarged for display.

In a possible implementation, the first drag operation to the drag mark includes an operation of dragging the drag mark, and when detecting the first drag operation to the drag mark, the processing unit is configured to:

detect whether a drag direction indicated by the first drag operation points to an exterior of the folder icon.

In a possible implementation, the first position is in a boundary position of the folder icon.

In a possible implementation, the processing unit is further configured to:

when the first drag operation is detected, display, on the touchscreen display, an icon of an application other than the at least one application in the at least two applications, where the icon is not enlarged for display.

In a possible implementation, after the icon that is of at least one application in the at least two applications and that is inside the folder icon is displayed on the touchscreen display, where the icon is enlarged for display, the processing unit is further configured to:

set a status of the at least one application to an enabled state, and when the status of the at least one application is the enabled state and a tap operation to an icon of any one application in the at least one application is detected, load the any one application.

In this implementation, for an application corresponding to an icon of the application that is enlarged for display, when a user needs to enable the application, the user only needs to tap the icon of the application once to directly enable the application. A folder icon in which the application is located does not need to be additionally tapped and opened, which can save time and work, and improve operation efficiency of the application.

In a possible implementation, after the icon that is of at least one application in the at least two applications and that is inside the folder icon is displayed on the touchscreen display, where the icon is enlarged for display, the processing unit is further configured to:

detect a second drag operation to the drag mark, where the second drag operation is an operation used to reduce a size of an icon that is of an application and that is inside the folder icon; and

when the second drag operation is detected, display, on the touchscreen display, a shrunk icon that is of an application in the at least one application and that is inside the folder icon, where a size obtained after the shrunk icon of the application is shrunk is the same as a size obtained before the shrunk icon of the application is enlarged.

In this implementation, for an icon of the application that is enlarged for display, the icon of the application that is enlarged for display may be shrunk into a size before the enlargement according to an application use need of a user, and a display size of the icon of the application in a folder icon may be changed in time, which further optimizes folder management.

In a possible implementation, after the shrunk icon that is of the application in the at least one application and that is inside the folder icon is shrunk on the touchscreen display, the processing unit is further configured to:

set a status of the shrunk application to a disabled state, and when the status of the shrunk application is the disabled state and a tap operation to the shrunk icon of the application is detected, skip loading any one application.

In a possible implementation, when the second drag operation to the drag mark includes an operation of dragging the drag mark, and when detecting the second drag operation to the drag mark, the processing unit is configured to:

detect whether a drag direction indicated by the second drag operation points to an interior of the folder icon.

In a possible implementation, the processing unit is further configured to:

when an icon of any one application is enlarged for display, accordingly enlarge the folder icon on the touchscreen display for display.

In a possible implementation, the processing unit is further configured to:

when an icon of any one application is enlarged for display, keep a size of the folder icon unchanged on the touchscreen display.

According to a third aspect, an embodiment provides an electronic device, and the electronic device has a function of implementing a behavior of the electronic device in the foregoing method implementation. The function may be implemented by using hardware and may also be implemented by hardware by executing corresponding software. The hardware or the software includes one or more modules corresponding to the foregoing function. The module may be software and/or hardware.

In a possible implementation, a structure of the electronic device includes a touchscreen display, a memory and a processor, and the memory stores a program instruction. The processor controls the electronic device to: according to the program instruction stored in the memory, display a folder icon on the touchscreen display, display a drag mark in a first position of the folder icon on the touchscreen display, detect a first drag operation to the drag mark, and when the first drag operation is detected, display, on the touchscreen display, an icon that is of at least one application in the at least two applications and that is inside the folder icon, where the icon is enlarged for display.

According to a fourth aspect, an embodiment provides a computer storage medium, which is used to store a computer software instruction used by the foregoing electronic device, and the computer storage medium includes a program designed for executing the foregoing aspect.

The embodiments provide a new folder management solution. Compared with the prior art, in the new folder management solution, some applications in a folder may be enlarged for display, which reflects an application selection preference of a user, thereby facilitating management of applications in the folder, and providing a vivid and interesting effect of displaying a folder icon.

BRIEF DESCRIPTION OF DRAWINGS

FIG. 1 is a schematic diagram of an internal structure of an electronic device according to an embodiment;

FIG. 2 is a flowchart of a folder management method according to an embodiment;

FIG. 3 is a page display diagram of a folder icon in a mobile phone terminal;

FIG. 4 is a schematic diagram of sorting management settings of an application folder in a mobile phone terminal;

FIG. 5 is a schematic diagram obtained by enlarging a folder icon in a mobile phone terminal by one system desktop grid;

FIG. 6 is a schematic diagram obtained by continuing enlarging a folder icon in a mobile phone terminal by one system desktop grid;

FIG. 7 is a schematic diagram obtained by shrinking a folder icon in a mobile phone terminal by one system desktop grid;

FIG. 8 is a schematic diagram of tapping an enlarged icon of an application in a terminal folder;

FIG. 9 is a schematic diagram of tapping a thumbnail icon in a terminal folder; and

FIG. 10 is a schematic structural diagram of a folder management apparatus according to an embodiment.

DETAILED DESCRIPTION OF THE EMBODIMENTS

The following describes the solutions in the embodiments with reference to the accompanying drawings. The described embodiments are merely some, but not all, of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments shall fall within the scope.

The following describes the embodiments in detail with reference to the accompanying drawings.

FIG. 1 shows an internal structure of an electronic device 100 provided in an embodiment. The electronic device 100 may include a mobile phone, a tablet, a personal digital assistant (PDA), a point of sales (POS), a vehicle-mounted computer, a desktop computer, a notebook, a server, and the like.

As shown in FIG. 1, an interior of the electronic device 100 may include: a processor 102, a memory 101 and a touchscreen display 103 that are separately connected to the processor 102, and optionally, the electronic device 100 may further include external devices, such as a loudspeaker, and a microphone. When communicating with the outside in a wireless manner, the electronic device 100 may further include a radio frequency (RF) circuit and a connected antenna, a Wireless Fidelity (WiFi) module and a connected antenna, and the like. In addition, the electronic device 100 further includes a power supply that supplies power to the electronic device 100.

A person of ordinary skill in the art may understand that the internal structure of the electronic device shown in FIG. 1 is not a limitation on an electronic device, and may include parts more or less than those shown in FIG. 1, or combine some parts or different part arrangements.

The following describes each constituent part of the electronic device 100 with reference to FIG. 1.

The memory 101 may be configured to store a program and data. By running the program stored in the memory 101, the processor 102 executes various functional applications of the electronic device 100 and performs data processing.

The memory 101 may include a program storage area and a data storage area. The program storage area may store an operating system (such as an Android operating system, “Android system” for short, or an iOS operating system, “iOS system” for short; the operating system may also be referred to as “system” for short), an application program (such as a sound playing function or an image playing function) that may be required by at least one function, and the like. The data storage area may store data (such as audio data and a phone book) created according to use of the electronic device 100, and the like.

By running the operating system stored in the memory 101, the processor 102 invokes an application program and completes a function provided by the application program.

In this embodiment, the operating system in the electronic device 100 invokes a display program 101 a and a detection program 101 b that are stored in the memory 101 to control the touchscreen display 103, so as to complete a folder management process provided in this embodiment of the present invention.

In addition, the memory 101 may include a high-speed random access memory and may further include a non-transitory memory, such as at least one disk storage device, a flash memory device, or another transitory solid state storage device.

The program storage area in the memory 101 may store: the display program 101 a, the detection program 101 b, and the like.

The display program 101 a is configured to display an icon of an application or a folder icon, and a drag mark in an edge position of the folder icon on the touchscreen display 103.

The detection program 101 b is configured to detect a drag operation type to the drag mark that is inserted in a first position of the folder icon displayed on the touchscreen display 103, and set display manners, of the folder icon, corresponding to different drag operation types.

The processor 102 runs the detection program 101 b, controls to enable an icon enlargement function for an icon that is of at least one application and that is inside the folder icon, invokes the display program 101 a stored in the memory 101, and displays, on the touchscreen display 103, the icon that is of the at least one application and that is inside the folder icon, where the icon is enlarged for display, so as to complete the folder management process.

Optionally, when detecting a first drag operation to the drag mark, the processor 102 is configured to:

detect whether a drag direction indicated by the first drag operation points to an exterior of the folder icon.

Optionally, the first position is in a boundary position of the folder icon.

Optionally, the processor 102 is further configured to:

when the first drag operation is detected, display, on the touchscreen display, an icon of an application other than the at least one application in the at least two applications, where the icon is not enlarged for display.

Optionally, after the icon that is of at least one application in the at least two applications and that is inside the folder icon is displayed on the touchscreen display 103, where the icon is enlarged for display, the processor 102 is further configured to:

set a status of the at least one application to an enabled state, and when the status of the at least one application is the enabled state and a tap operation to an icon of any one application in the at least one application is detected, load the any one application.

Optionally, after the icon that is of at least one application in the at least two applications and that is inside the folder icon is enlarged on the touchscreen display 103, where the icon is enlarged for display, the processor 102 is further configured to:

detect a second drag operation to the drag mark, where the second drag operation is an operation used to reduce a size of an icon that is of an application and that is inside the folder icon; and

when the second drag operation is detected, display, on the touchscreen display 103, a shrunk icon that is of an application in the at least one application and that is inside the folder icon, where a size obtained after the shrunk icon of the application is shrunk is the same as a size obtained before the shrunk icon of the application is enlarged.

Optionally, after the shrunk icon that is of the application in the at least one application and that is inside the folder icon is shrunk on the touchscreen display 103, the processor 102 is further configured to:

set a status of the shrunk application to a disabled state, and when the status of the shrunk application is the disabled state and a tap operation to the shrunk icon of the application is detected, skip loading any one application.

Optionally, when the second drag operation to the drag mark includes an operation of dragging the drag mark, and when detecting the second drag operation to the drag mark, the processor 102 is configured to:

detect whether a drag direction indicated by the second drag operation points to an interior of the folder icon.

Optionally, the processor 102 is further configured to:

when an icon of any one application is enlarged for display, accordingly enlarge the folder icon on the touchscreen display 103 for display.

Optionally, the processor 102 is further configured to:

when an icon of any one application is enlarged for display, keep a size of the folder icon unchanged on the touchscreen display 103.

In this embodiment, the touchscreen display 103 may include a touch panel, a display unit, and the like.

The touch panel, also referred to as a touchscreen, may collect a touch operation (such as an operation performed by a user on the touch panel or near the touch panel by using any proper object or accessory, such as a finger or a stylus) of the user on or near the touch panel, and drives a corresponding connection apparatus according to a preset program.

Optionally, the touch panel may include two parts: a touch detection apparatus and a touch controller.

The touch detection apparatus detects a touch orientation of the user, and detects a signal brought by the touch operation, and sends the signal to the touch controller. The touch controller receives touch information from the touch detection apparatus, and converts the touch information into contact coordinates, then sends the touch coordinates to the processor 102, and can receive and execute a command sent by the processor 102.

In addition, the touch panel may be implemented in multiple types, such as a resistive type, a capacitive type, infrared, and a surface acoustic wave.

The display unit may be configured to display information inputted by the user or information provided for the user, and various menus of the electronic device 100. Optionally, the display unit may be configured in a form, such as a liquid crystal display (LCD) and an organic light-emitting diode (OLED). Further, the touch panel may cover the display unit. When detecting the touch operation on or near the touch panel, the touch panel sends the information of the touch operation to the processor 102 to determine a type of a touch event, and then the processor 102 provides corresponding visual output on the display unit according to the type of the touch event.

As shown in FIG. 1, the touch panel and the display unit may be integrated into the touchscreen display 103, which is configured to implement input and output functions of the electronic device 100, or the touch panel and the display unit may serve as two independent parts to separately implement the input and output functions of the electronic device 100, which is not limited in this embodiment.

The RF circuit may be configured to: receive and send a signal in an information receiving or sending process or a call process, and in particular, after receiving downlink information sent by a base station, send the downlink information to the processor 102 for processing; and in addition, send uplink data to the base station.

Generally, the RF circuit includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (LNA), a duplexer, and the like.

In addition, the RF circuit may further communicate with a network and another device using radio communications.

The radio communications may use any one communications standard or protocol, which includes, but is not limited to:

Global System for Mobile Communications (GSM), general packet radio service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution ((LTE), an email, a short message service (SMS), and the like.

In FIG. 1, an audio circuit, the loudspeaker, and the microphone may provide an audio interface between the user and the electronic device 100.

The audio circuit may transmit an electrical signal obtained by converting received audio data to the loudspeaker, and the loudspeaker converts the electrical signal into a sound signal for output. In another aspect, the microphone converts a collected sound signal into an electrical signal, so that the audio circuit receives the electrical signal and converts the electrical signal into audio data, and outputs the audio data to the RF circuit, to send to another electronic device, for example, a mobile phone, or outputs the audio data to the memory 101 for further processing.

WiFi belongs to a short-range wireless transmission technology. The electronic device 100 may help, by using a WiFi module, the user receive and send emails, browse a web page, access streaming media, and the like. The WiFi module provides the user with wireless broadband Internet access.

Although FIG. 1 shows the WiFi module, it may be understood that the WiFi module is not a mandatory component of the electronic device 100, and may be omitted according to a requirement, without changing the essence of this embodiment.

The processor 102 is a control center of the electronic device 100, and is connected to each part of the entire mobile phone by using various interfaces and lines, and executes various functions of the electronic device 100 and processes data by running or executing a program (or referred to as a “module”) stored in the memory 101 and invoking data stored in the memory 101, thereby performing overall monitoring on the electronic device 100.

Optionally, the processor 102 may include at least one processing unit. Optionally, the processor 102 may integrate an application processor and a modem processor. The application processor processes an operating system, a user interface, an application program, and the like, and the modem processor processes the radio communications. It may be understood that the modem processor may also be not integrated into the processor 102.

The electronic device 100 further includes the power supply (such as a battery) that supplies power to each part. Optionally, the power supply may be logically connected to the processor 102 by using a power management system, so as to manage functions, such as charging, discharging, and power consumption by using the power management system.

Although not shown in FIG. 1, the electronic device 100 may further include a sensor (such as a light sensor, or a motion sensor).

For example, the light sensor may include an ambient light sensor and a proximity sensor.

The ambient light sensor may adjust luminance of the display unit according to brightness and darkness of ambient light, and the proximity sensor may disable the display unit and/or backlight when the electronic device 100 moves near an ear.

As a motion sensor, an accelerometer sensor may detect a value of acceleration in each direction (generally, three axes), may detect a value and a direction of gravity in a static state, and may be used to identify an application of a mobile phone posture (such as a switch between a landscape and a portrait, related games, and magnetometer posture calibration), a function related to vibration identification (such as a pedometer and a stroke), and the like.

Other sensors, such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor may be further configured in the electronic device 100, and details are not described herein.

In addition, the electronic device 100 may further include a camera, a Bluetooth module, and the like, and details are not described herein.

The following describes a method provided in an embodiment.

Referring to FIG. 2, an embodiment of the present invention provides a folder management method. The method may be executed by the foregoing electronic device 100, the electronic device 100 includes a touchscreen display, and a process of the method is described as follows:

Step 201: Display a folder icon on the touchscreen display and display a drag mark in a first position of the folder icon on the touchscreen display, where the folder icon includes icons of at least two applications.

The first position is in a boundary position of the folder icon.

That the electronic device 100 is a mobile phone terminal is used as an example. Referring to FIG. 3, FIG. 3 is a page display diagram of a folder icon in the mobile phone terminal. A position shown in {circle around (1)} in FIG. 3 is an icon display area of an application (app) folder. A drag mark is set in a boundary position of a lower right corner of the folder icon, that is, a position shown in {circle around (2)} in FIG. 3. A position shown in {circle around (3)} is an app icon displayed in a thumbnail form in the folder. The drag mark set in the position {circle around (2)} in FIG. 3 may be directly displayed in the folder icon or is triggered to display in a display interface of the mobile phone terminal in another interaction manner, for example, by tapping and holding or double-tapping the folder icon.

Step 202: Detect a first drag operation to the drag mark, where the first drag operation is an operation used to increase a size of an icon of an application in a folder.

For example, the first drag operation to the drag mark includes an operation of dragging the drag mark, and the detecting a first drag operation to the drag mark includes: detecting whether a drag direction indicated by the first drag operation points to an exterior of the folder icon.

Pointing to the exterior of the folder icon refers to pointing to the outside of an area in which the folder icon is located. On the contrary, pointing to an interior of the folder icon refers to pointing to the inside of an area in which the folder icon is located.

It should be noted that the first drag operation may also be set as a drag operation of another type, provided that the first drag operation is mapped into a drag action that has a function of enlarging an icon of an application in the folder.

Step 203: When the first drag operation is detected, display, on the touchscreen display, an icon that is of at least one application in the at least two applications and that is inside the folder icon, where the icon is enlarged for display.

For example, when the first drag operation is detected, and the icon that is of the at least one application in the at least two applications and that is inside the folder icon is enlarged for display, further, an icon of an application other than the at least one application in the at least two applications is not enlarged for display, but an original display size of the icon of the application is kept for display in a thumbnail form.

Further, in step 203, when an icon of any one application is enlarged for display, the folder icon is accordingly enlarged for display. Optionally, when an icon of the one application is enlarged for display, a size of the folder icon may also be kept unchanged.

For example, the folder icon that is enlarged for display includes the icon, of the application, that is enlarged for display and a thumbnail icon. A size of the icon, of the application, that is enlarged for display is in a same size as the thumbnail icon, and the thumbnail icon is a set of icons, of applications, that are not enlarged for display.

Further, after the displaying, on the touchscreen display, an icon that is of at least one application in the at least two applications and that is inside the folder icon, where the icon is enlarged for display, the method further includes: setting a status of the at least one application to an enabled state, and when the status of the at least one application is the enabled state and a tap operation to an icon of any one application in the at least one application is detected, loading the any one application.

It may be understood that, for an application corresponding to an icon of the application that is enlarged for display, when a user needs to enable the application, the user only needs to tap the icon of the application once to directly enable the application. A folder icon in which the application is located does not need to be additionally tapped and opened, which can save time and work, improve operation efficiency of the application, and further facilitate folder management.

Further, after the displaying, on the touchscreen display, an icon that is of at least one application in the at least two applications and that is inside the folder icon, where the icon is enlarged for display, the method further includes: detecting a second drag operation to the drag mark, where the second drag operation is an operation used to reduce a size of an icon that is of an application and that is inside the folder icon; and when the second drag operation is detected, displaying, on the touchscreen display, a shrunk icon that is of an application in the at least one application and that is inside the folder icon, where a size obtained after the shrunk icon of the application is shrunk is the same as a size obtained before the shrunk icon of the application is enlarged.

For example, the second drag operation to the drag mark includes an operation of dragging the drag mark, and the detecting a second drag operation to the drag mark includes:

detecting whether a drag direction indicated by the second drag operation points to an interior of the folder icon.

It should be noted that the second drag operation may also be set as a drag operation of another type, provided that the second drag operation is mapped into a drag action that has a function of shrinking an icon of an application in the folder.

Further, after the displaying, on the touchscreen display, a shrunk icon that is of an application in the at least one application and that is inside the folder icon, the method further includes: setting a status of the shrunk application to a disabled state, and when the status of the shrunk application is the disabled state and a tap operation to the shrunk icon of the application is detected, skipping loading any one application.

The mobile phone terminal shown in FIG. 3 is used as an example. A size and shape of the folder icon in the x-axis and the y-axis of the display interface may be changed by holding the drag mark in a lower right corner direction of the folder icon. When the shape of the folder icon is dragged to enlarge, the shape of the folder icon may match a desktop grid of a desktop system and is enlarged by the desktop grid. When the folder icon is enlarged, an icon of an app in the folder is enlarged and expanded inside the folder icon.

In the folder, an enlargement sequence of the icon of the app may be set according to a user habit. For example, in an enlargement process of the folder icon, default sorting may be performed, according to a default sorting sequence in the folder, a use frequency, or a use time sequence, on the icon of the app displayed in the folder. In addition, referring to FIG. 4, the user may also perform sorting management settings in an expanded folder. The following is described according to the default sorting sequence of apps in the folder.

According to a sorting sequence of icons of the apps in the folder, when the folder icon is enlarged and occupies one system desktop grid, an icon of an app of a corresponding sequence in the folder is enlarged and occupies space of a thumbnail icon in the original folder. The thumbnail icon in the original folder occupies space of the newly added desktop grid, and the thumbnail icon is kept in a position of the last icon in the folder.

As shown in FIG. 5, the folder icon is enlarged by one system desktop grid, an icon of the first application in the folder is enlarged and expanded, and occupies space of the thumbnail icon in the original folder. A thumbnail icon in the folder moves to space of the newly added grid. A smooth animation may be used for transition of the enlargement of the folder icon and the icon of the app. As shown in FIG. 6, the drag mark continues to be dragged. The folder icon is enlarged and occupies three system desktop grids, an icon of the second application in the thumbnail of the folder is enlarged and expanded, and occupies a position in which the original thumbnail is located, and the thumbnail is kept in a position of the last icon in the folder. A subsequent enlargement may be performed by analogy, until icons of all applications in the folder are expanded. After the folder icon is enlarged and all the applications are expanded, the thumbnail may disappear, or may be reserved.

In the folder, a shrinkage law of an icon of an app is similar to an enlargement law. As shown in FIG. 7, the folder icon shrinks by one system desktop grid. An icon of an application before a thumbnail in the folder is shrunk and combined into the thumbnail, that is, the icon of the application is shrunk to an original display size, and the thumbnail occupies a position of the icon of the application. Shrinkage is continued by analogy, until icons of all applications are combined into the last thumbnail in the folder.

After an enlargement or shrinkage of an icon of an application is completed, the folder icon keeps a state obtained after the enlargement or the shrinkage is completed. In this case, as shown in FIG. 8, an enlarged icon of an application in the folder is tapped, and the corresponding application is directly enabled. As shown in FIG. 9, a thumbnail icon in the folder is tapped, and the icons of all the applications in the folder are expanded.

Based on the folder management method provided in the foregoing embodiment, referring to FIG. 10, an embodiment of the present invention provides a folder management apparatus 1000. The apparatus 1000 may be configured to execute the method in the foregoing FIG. 2 to FIG. 7. The apparatus 1000 is applied to an electronic device that has a touchscreen display, and the electronic device may be an electronic device 100 shown in FIG. 1. FIG. 10 is a schematic structural diagram of the apparatus 1000 provided in this embodiment of the present invention. As shown in FIG. 10, the apparatus 1000 includes a display unit 1001 and a processing unit 1002.

The display unit 1001 is configured to display a folder icon on the touchscreen display and display a drag mark in a first position of the folder icon on the touchscreen display, where the folder icon includes icons of at least two applications.

The processing unit 1002 is configured to detect a first drag operation to the drag mark, where the first drag operation is used to increase a size of an icon of an application in a folder; and when the first drag operation is detected, display, on the touchscreen display, an icon that is of at least one application in the at least two applications and that is inside the folder icon, where the icon is enlarged for display.

Optionally, the first drag operation to the drag mark includes an operation of dragging the drag mark, and when detecting the first drag operation to the drag mark, the processing unit 1002 is configured to:

detect whether a drag direction indicated by the first drag operation points to an exterior of the folder icon.

Optionally, the first position is in a boundary position of the folder icon.

Optionally, the processing unit 1002 is further configured to:

when the first drag operation is detected, display, on the touchscreen display, an icon of an application other than the at least one application in the at least two applications, where the icon is not enlarged for display.

Optionally, after the icon that is of at least one application in the at least two applications and that is inside the folder icon is enlarged on the touchscreen display, where the icon is enlarged for display, the processing unit 1002 is further configured to:

set a status of the at least one application to an enabled state, and when the status of the at least one application is the enabled state and a tap operation to an icon of any one application in the at least one application is detected, load the any one application.

Optionally, after the icon that is of at least one application in the at least two applications and that is inside the folder icon is enlarged on the touchscreen display, where the icon is enlarged for display, the processing unit 1002 is further configured to:

detect a second drag operation to the drag mark, where the second drag operation is an operation used to reduce a size of an icon that is of an application and that is inside the folder icon; and

when the second drag operation is detected, display, on the touchscreen display, a shrunk icon that is of an application in the at least one application and that is inside the folder icon, where a size obtained after the shrunk icon of the application is shrunk is the same as a size obtained before the shrunk icon of the application is enlarged.

Optionally, after the shrunk icon that is of the application in the at least one application and that is inside the folder icon is shrunk on the touchscreen display, the processing unit 1002 is further configured to:

set a status of the shrunk application to a disabled state, and when the status of the shrunk application is the disabled state and a tap operation to the shrunk icon of the application is detected, skip loading any one application.

Optionally, when the second drag operation to the drag mark includes an operation of dragging the drag mark, and when detecting the second drag operation to the drag mark, the processing unit 1002 is configured to:

detect whether a drag direction indicated by the second drag operation points to an interior of the folder icon.

Optionally, the processing unit 1002 is further configured to:

when an icon of any one application is enlarged for display, accordingly enlarge the folder icon on the touchscreen display for display.

Optionally, the processing unit 1002 is further configured to:

when an icon of any one application is enlarged for display, keep a size of the folder icon unchanged on the touchscreen display.

The foregoing apparatus 1000 involved in this embodiment may be an independent part and may also be integrated into another part.

It should be noted that, for a function implementation and an interaction manner of each unit of the apparatus 1000 in this embodiment, reference may further be made to description of the related method embodiment, and details are not described herein.

Thus, according to this embodiment, an electronic device that has a touchscreen display displays a folder icon on the touchscreen display, and displays a drag mark in a first position of the folder icon; detects a first drag operation to the drag mark, where the first drag operation is used to increase a size of an icon of an application in a folder; and when the first drag operation is detected, displays, on the touchscreen display, an icon that is of at least one application in the at least two applications and that is inside the folder icon, where the icon is enlarged for display. In this way, icons that are of some applications and that are in the folder icon can be enlarged for display. For an application corresponding to an icon of the application enlarged for display, when a user needs to enable this application, the user only needs to directly tap the icon of the application displayed inside the folder icon, which facilitates management of applications in the folder.

A person of ordinary skill in the art should understand that the embodiments may be provided as a method, a system, or a computer program product. Therefore, the embodiments may use a form of hardware only embodiments, software only embodiments, or embodiments with a combination of software and hardware. Moreover, the embodiments may use a form of a computer program product that is implemented on one or more computer-executable storage media (including, but not limited to, a disk memory, a CD-ROM, an optical memory, and the like) that include computer-usable program code.

The embodiments are described with reference to the flowcharts and/or block diagrams of the method, the device (system), and the computer program product. It should be understood that computer program instructions may be used to implement each process and/or each block in the flowcharts and/or the block diagrams and a combination of a process and/or a block in the flowcharts and/or the block diagrams. These computer program instructions may be provided for a general-purpose computer, a dedicated computer, an embedded processor, or a processor of any other programmable data processing device to generate a machine, so that the instructions executed by a computer or a processor of any other programmable data processing device generate an apparatus for implementing a specific function in one or more processes in the flowcharts and/or in one or more blocks in the block diagrams.

These computer program instructions may be stored in a computer readable memory that can instruct the computer or any other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory generate an artifact that includes an instruction apparatus. The instruction apparatus implements a specific function in one or more processes in the flowcharts and/or in one or more blocks in the block diagrams.

These computer program instructions may be loaded onto a computer or another programmable data processing device, so that a series of operations and steps are performed on the computer or the another programmable device, thereby generating computer-implemented processing. Therefore, the instructions executed on the computer or the another programmable device provide steps for implementing a specific function in one or more processes in the flowcharts and/or in one or more blocks in the block diagrams.

Although some preferred embodiments have been described, persons of ordinary skill in the art can make changes and modifications to these embodiments once they learn the basic concepts. 

What is claimed is:
 1. A folder management method, wherein the method is executed by an electronic device that has a display screen, and the method comprises: displaying a folder icon on the display screen, the folder icon comprising a set of icons of at least two applications, and the set of icons of the at least two applications is displayed in the folder icon as a thumbnail icon, and, in the thumbnail icon, each of the set of icons is displayed in a shrunk size, and the folder icon further comprising an enlarged first icon associated with a first application, wherein the enlarged first icon is displayed adjacent to the thumbnail icon, and a size of the enlarged first icon is a same size as the thumbnail icon, and wherein the folder icon comprises the thumbnail icon and the enlarged first icon within one boundary of the folder icon; and displaying an enlarged second icon associated with a second application of the at least two applications, wherein a size of the enlarged second icon is a same size as the thumbnail icon, and the second application is determined according to historical usage.
 2. The method according to claim 1, further comprising: launching the first application when detecting a tap operation on the enlarged first icon in the folder icon; or, launching the second application when detecting a tap operation on the enlarged second icon in the folder icon.
 3. The method according to claim 1, further comprising: displaying all the application icons in the folder when detecting a tap operation on the thumbnail icon in the folder.
 4. The method according to claim 1, wherein the enlarged first icon comprises one or more icons, and the enlarged second icon comprises one or more icons.
 5. The method according to claim 1, further comprising: in response to a first operation, displaying, in the folder, an enlarged third icon associated with a third application, wherein the enlarged third icon is displayed adjacent to the thumbnail icon without a third icon or adjacent to the enlarged first icon, and wherein a size of the enlarged third icon is a same size as the enlarged first icon, wherein the third icon corresponding to the enlarged third icon is not displayed as the thumbnail icon when the enlarged third icon is displayed.
 6. The method according to claim 5, wherein the first operation comprises a drag operation on the folder icon, and a drag direction of the drag operation points to an exterior of the folder icon.
 7. The method according to claim 6, wherein the drag operation is detected in a boundary position of the folder icon.
 8. The method according to claim 1, further comprising: displaying, in the folder icon, the first icon in the shrunk size and as a part of the thumbnail icon when detecting changes based on the historical usage, wherein the enlarged first icon is not displayed when the first icon corresponding to the enlarged first icon is displayed as the part of the thumbnail icon.
 9. The method according to claim 5, further comprising: enlarging the folder icon when detecting the first operation.
 10. A terminal device, comprising: a display screen, a processor, and a storage medium, wherein the processor is configured to read computer-executable code in the storage medium, so as to cause the display screen to: display a folder icon on the display screen, the folder icon comprising a set of icons of at least two applications, and the set of icons of the at least two applications is displayed in the folder icon as a thumbnail icon, and, in the thumbnail icon, each of the set of icons is displayed in a shrunk size, and the folder icon further comprising an enlarged first icon associated with a first application, wherein the enlarged first icon is displayed adjacent to the thumbnail icon, and a size of the enlarged first icon is a same size as the thumbnail icon, and wherein the folder icon comprises the thumbnail icon and the enlarged first icon within one boundary of the folder icon; and display an enlarged second icon associated with a second application of the at least two applications, wherein a size of the enlarged second icon is a same size as the thumbnail icon, and the second application is determined according to historical usage.
 11. The device according to claim 10, wherein the processor is further configured to read computer-executable code in the storage medium to: launch the first application when detecting a tap operation on the enlarged first icon in the folder icon; or launch the second application when detecting a tap operation on the enlarged second icon in the folder icon.
 12. The device according to claim 10, wherein the processor is further configured to read computer-executable code in the storage medium to: display all the application icons in the folder when detecting a tap operation on the thumbnail icon in the folder.
 13. The device according to claim 10, wherein the enlarged first icon comprises one or more icons, and the enlarged second icon comprises one or more icons.
 14. The device according to claim 10, wherein the processor is further configured to read computer-executable code in the storage medium to cause the display screen to display, in the folder icon, the first icon in the shrunk size and as a part of the thumbnail icon when detecting changes based on historical usage, wherein the enlarged first icon is not displayed when the first icon corresponding to the enlarged first icon is displayed as the part of the thumbnail icon.
 15. The device according to claim 10, wherein the processor is further configured to read computer-executable code in the storage medium to display, in the folder, an enlarged second icon associated with a second application of the at least two applications in response to a first operation, wherein the enlarged second icon is displayed adjacent to the thumbnail icon without a second icon or adjacent to the enlarged first icon, and wherein a size of the enlarged second icon is a same size as the enlarged first icon, and wherein the folder icon comprises the set of icons as the thumbnail icon and the enlarged first icon within one boundary of the folder icon.
 16. The device according to claim 15, wherein the first operation comprises a drag operation on the folder icon, and a drag direction of the drag operation points to an exterior of the folder icon.
 17. The device according to claim 16, wherein the drag operation is detected in a boundary position of the folder icon.
 18. The device according to claim 15, wherein the processor is further configured to read computer-executable code in the storage medium to cause the display screen to accordingly enlarge the folder icon when detecting the first operation.
 19. The method according to claim 10, wherein the second icon corresponding to the enlarged second icon is not displayed in the thumbnail icon when the enlarged second icon is displayed.
 20. A non-transitory storage medium, comprising computer-executable code when executed by one or more processors coupled with a display screen causes the display screen to: display a folder icon on the display screen, the folder icon comprising a set of icons of at least two applications, and the set of icons of the at least two applications is displayed in the folder icon as a thumbnail icon, and, in the thumbnail icon, each of the set of icons is displayed in a shrunk size, and the folder icon further comprising an enlarged first icon associated with a first application, wherein the enlarged first icon is displayed adjacent to the thumbnail icon, and a size of the enlarged first icon is a same size as the thumbnail icon, and wherein the folder icon comprises the thumbnail icon and the enlarged first icon within one boundary of the folder icon; and display an enlarged second icon associated with a second application of the at least two applications, wherein a size of the enlarged second icon is a same size as the thumbnail icon, and the second application is determined according to historical usage.
 21. The non-transitory storage medium according to claim 20, wherein the computer-executable code further when executed by the one or more processors causes the one or more processors to launch the first application when detecting a tap operation on the enlarged first icon; or to launch the second application when detecting a tap operation on the enlarged second icon.
 22. The non-transitory storage medium according to claim 20, wherein the computer-executable code further when executed by the one or more processors causes the one or more processors to display all the application icons in the folder when detecting a tap operation on the thumbnail icon in the folder. 